package mirrormonkey.framework.parameter;

public class ParameterInterpreterUtil {

	public static final Object[] packParams(Object[] args,
			ParameterInterpreter[] paramAccessors) {
		Object[] result = new Object[args.length];
		int i = 0;
		for (ParameterInterpreter pi : paramAccessors) {
			result[i] = pi.packData(args[i]);
			i++;
		}
		return result;
	}

}
